home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12424 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: Inter.NL.net!usenet
  2. From: Auke.Reitsma@net.HCC.nl (Auke Reitsma)
  3. Newsgroups: comp.os.msdos.programmer,comp.lang.c
  4. Subject: Re: problems using int 25h
  5. Date: Sun, 31 Mar 1996 09:40:44 GMT
  6. Organization: Inter.NL.net, The Internet Provider in The Netherlands.
  7. Message-ID: <4jljvc$4p5@altrade.nijmegen.inter.nl.net>
  8. References: <4jjsfv$g41@vixen.cso.uiuc.edu>
  9. Reply-To: Auke.Reitsma@net.HCC.nl
  10. NNTP-Posting-Host: rt99-8.rotterdam.nl.net
  11. X-Newsreader: Forte Free Agent 1.0.82
  12.  
  13. doc@uiuc.edu (Jim Marco) wrote:
  14.  
  15. > I'm trying to write a program (in Turbo C 2.0) that scans the hard disk looking
  16. > for certain file signatures.  I want this program to scan sector by sector, so
  17. > I tried using int 25h via the Turbo C absread() command.  The problem is, the
  18. > program works as intended on drive C: which is a 20 meg PC-DOS 5.0 partition,
  19. > but not on drive D: which is a 300 meg partition (same OS).  The call keeps
  20. > returning a "sector not found" error even for low sector values.  Can anyone
  21. > shed any light on this?  Thanks in advance.
  22.  
  23. TC2 does not have support for disks larger than 30 MB.
  24. I believe SNIPPETS has a replacement absread() ...
  25. You should be able to find Snippets at ftp.brokersys.com /pub/snippets
  26.  
  27.  
  28. Greetings from Delft, The Netherlands.
  29.  
  30. Auke Reitsma
  31.  
  32.